﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Practices.Unity;
using Infrastructure.Web.Views.Master;

namespace Skynet.LibraryModule.Presenter.ListAudit
{
    public class ListAuditPresenter : MasterPresenter<IListAuditView>
    {
        [Dependency]
        public Infrastructure.CloudWeb.BusinessServices.IMethodAuditService MethodAuditService { get; set; }

        public override void OnViewInitialized()
        {
            this.View.Audits = this.MethodAuditService.GetAll();
        }
        public override void OnViewLoaded()
        {

        }
    }
}
